package com.itheima.sort;

/**
 * 二分查找
 */
public class Test {
    public static void main(String[] args) {
        int[] arr = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10};
        int target = 5;
        int index = BinarySearch.binarySearch(arr, target);
        System.out.println(index);
    }
}
